#!/bin/bash
# Zaitan Module - Mania Drive Install
# Zaitan Team <http://zaitan.net/>

RMOD_ENGINE='2.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Games'
RMOD_NAME='Mania Drive'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='1.2'
RMOD_DESCRIPTION='Installs Mania Drive'



# install Mania Drive



echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall

cd /usr/share/zaitan

	
	wget -c http://mirrors.dotsrc.org/getdeb/ma/maniadrive-data_1.2-1~getdeb2_all.deb
	wget -c http://mirrors.dotsrc.org/getdeb/ma/maniadrive_1.2-1~getdeb2_i386.deb
	dpkg -i maniadrive-data_1.2-1~getdeb2_all.deb
	dpkg -i maniadrive_1.2-1~getdeb2_i386.deb
	apt-get -f install



echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0

